package com.CST.mapper.cst.cb;

import com.CST.dto.cb.DateDTO;
import com.CST.entity.cb.EtlCws;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2022-05-12
 */
@Repository
public interface EtlCwsMapper extends BaseMapper<EtlCws> {

    /**
     * 获取科室床位数
     * 可以传入子，父科室编号
     * 不传为获取所有科室信息
     */
    List<EtlCws> listCwsByDept(@Param("dateDTO") DateDTO dateDTO, @Param("pDeptCode") String pDeptCode);
    
}
